package com.lxmes.base.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.lxmes.common.annotation.Excel;
import com.lxmes.common.core.domain.BaseEntity;

/**
 * 项目详情对象 jc_project_info
 * 
 * @author 王超
 * @date 2022-08-27
 */
public class JcProjectInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 公司编号 */
    @Excel(name = "公司编号")
    private Long deptId;

    /** 项目编号 */
    @Excel(name = "项目编号")
    private Long mainId;

    /** 项目名称 */
    @Excel(name = "项目名称")
    private String projectName;

    /** 追加价格 */
    @Excel(name = "追加价格")
    private BigDecimal zjPrice;

    /** 追加时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "追加时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date zjTime;

    /** 追加人 */
    @Excel(name = "追加人")
    private String zjName;

    /** 备注 */
    @Excel(name = "备注")
    private String renark;

    /** 备用字段1 */
    @Excel(name = "备用字段1")
    private String res1;

    /** 备用字段2 */
    @Excel(name = "备用字段2")
    private String res2;

    /** 备用字段3 */
    @Excel(name = "备用字段3")
    private String res3;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setDeptId(Long deptId) 
    {
        this.deptId = deptId;
    }

    public Long getDeptId() 
    {
        return deptId;
    }
    public void setMainId(Long mainId) 
    {
        this.mainId = mainId;
    }

    public Long getMainId() 
    {
        return mainId;
    }
    public void setProjectName(String projectName) 
    {
        this.projectName = projectName;
    }

    public String getProjectName() 
    {
        return projectName;
    }
    public void setZjPrice(BigDecimal zjPrice) 
    {
        this.zjPrice = zjPrice;
    }

    public BigDecimal getZjPrice() 
    {
        return zjPrice;
    }
    public void setZjTime(Date zjTime) 
    {
        this.zjTime = zjTime;
    }

    public Date getZjTime() 
    {
        return zjTime;
    }
    public void setZjName(String zjName) 
    {
        this.zjName = zjName;
    }

    public String getZjName() 
    {
        return zjName;
    }
    public void setRenark(String renark) 
    {
        this.renark = renark;
    }

    public String getRenark() 
    {
        return renark;
    }
    public void setRes1(String res1) 
    {
        this.res1 = res1;
    }

    public String getRes1() 
    {
        return res1;
    }
    public void setRes2(String res2) 
    {
        this.res2 = res2;
    }

    public String getRes2() 
    {
        return res2;
    }
    public void setRes3(String res3) 
    {
        this.res3 = res3;
    }

    public String getRes3() 
    {
        return res3;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("deptId", getDeptId())
            .append("mainId", getMainId())
            .append("projectName", getProjectName())
            .append("zjPrice", getZjPrice())
            .append("zjTime", getZjTime())
            .append("zjName", getZjName())
            .append("renark", getRenark())
            .append("res1", getRes1())
            .append("res2", getRes2())
            .append("res3", getRes3())
            .toString();
    }
}
